Compiling Collapsing Rules
نویسندگان
چکیده
The implementation of functional logic languages by means of graph 7 rewriting requires a special handling of collapsing rules. Recent advances about 8 the notion of a needed step in some constructor systems offer a new approach 9 to this problem. We present two results: a transformation of a certain class of 10 constructor-based rewrite systems that eliminates collapsing rules, and a rewrite11 like relation that takes advantage of the absence of collapsing rules. We formally 12 state and prove the correctness of these results. When used together, these results 13 simplify without any loss of efficiency an implementation of graph rewriting and 14 consequently of functional logic computations. 15
منابع مشابه
Termination of Rewrite Systems with Shallow Right-Linear, Collapsing, and Right-Ground Rules
We show that termination is decidable for rewrite systems that contain shallow and right-linear rules, collapsing rules, and rightground rules. This class of rewrite systems is expressive enough to include interesting rules. Our proof uses the fact that this class of rewrite systems is known to be regularity-preserving and hence the reachability and joinability problems are decidable. Decidabil...
متن کاملTwo Procedures for Compiling Influence Diagrams
Two algorithms are presented for "compiling" influence diagrams into a set of simple decision rules. These decision rules define simple-to execute, complete, consistent, and near-�pti�al decision procedures. These compilation algorithms can be used to derive decision procedures for human teams solving time constrained decision problems.
متن کاملA Method for Compiling Two-Level Rules with Multiple Contexts
A novel method is presented for compiling two-level rules which have multiple context parts. The same method can also be applied to the resolution of so-called right-arrow rule conflicts. The method makes use of the fact that one can efficiently compose sets of twolevel rules with a lexicon transducer. By introducing variant characters and using simple pre-processing of multi-context rules, all...
متن کاملImplementing Hpsg with Modular Tools for Fast Compiling and Parsing
We describe a modular HPSG implementation , based on a set of tools rather than a single monolithic engine such as ALE. With these tools we can use techniques for much faster compiling and parsing than ALE. We use two-stage grammar compilation with partial execution and a concurrent process implementation of the chart for fast parsing. We compile HPSG lexical rules into Prolog rules used at run...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2015